<template>
    <!-- 服务条款、投诉、隐私政策 -->
    <view class="pages">
        <h-not-list v-if="!info.content"></h-not-list>
        <u-parse :content="info?.content"></u-parse>
    </view>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { onLoad, onReachBottom } from '@dcloudio/uni-app'
import { showToast, navigateTo, navigateBack, setNavBarTitle } from '@/utils'
import { functionDetailApi } from '@/services/my/tool-about-us'


const info = ref<any>({}) // 信息
onLoad((options: any) => {
    getInfo(options.id)
})

async function getInfo(id: any) {
    try {
        const res: any = await functionDetailApi({ id })
        console.log(res);
        info.value = res.data
    } catch (error) {

    }
}


</script>

<style lang="scss" scoped>
.pages {
    width: 750rpx;
    background-color: #fff;
    min-height: 100vh;
    padding: 24rpx;


}
</style>